package com.jobboard.auth.application.convert;

import com.jobboard.auth.domain.entity.AuthUserBO;
import com.jobboard.auth.api.entity.AuthUserDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 用户dto转换器
 *
 * @author rose
 */
@Mapper
public interface AuthUserDTOConverter {

    AuthUserDTOConverter INSTANCE = Mappers.getMapper(AuthUserDTOConverter.class);

    AuthUserBO convertDtoToBo(AuthUserDTO authUserDTO);

    AuthUserDTO convertBoToDto(AuthUserBO authUserBo);
}
